﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="SYS_addTZ.aspx.cs" Inherits="GPCSC.Web.SHFW.SYS_addTZ" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
       <title>淮安市领导干部下基层活动网站</title>
<meta name="KEYWords" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
<meta name="DEscription" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
    <script type="text/javascript" src="../Scripts/jquery-1.4.1.min.js"></script>
    <script>
        function selUid() {
            var sdf = $("#MtxtD_labResult").find("li");
            if (sdf.length > 0) {
                for (var i = 0; i < sdf.length; i++) {
                    document.getElementById("userids").value += sdf[i].attributes[1].nodeValue + "#";
                    document.getElementById("usernames").value += sdf[i].innerText + "#";
                }
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
<ext:PageManager ID="PageManager1" runat="server" />
    <ext:SimpleForm  ID="MtxtD" runat="server"    EnableBackgroundColor="true"
        Title="用户写信表单">
        <Items>
       
            <ext:TextBox ID="Title" runat="server" Label="标题"  Required="True"
                ShowRedStar="True"  >
            </ext:TextBox>
           
            <%--<ext:TextArea ID="cont" runat="server" Label="内容"  AutoGrowHeight="false">
            
            </ext:TextArea>--%>
            <ext:HtmlEditor ID="cont" runat="server" Height="200px" Label="内容" Text="">
            </ext:HtmlEditor>

            <ext:Label ID="Label1" runat="server" Label="选择联系人" Text="">
            </ext:Label>

               <ext:Form ID="Form5" ShowBorder="False" BodyPadding="5px" EnableBackgroundColor="true"
                ShowHeader="False" runat="server" Width="600px">
                <Rows>
                    <ext:FormRow>
                        <Items>

    <ext:TwinTriggerBox runat="server" EmptyText="输入要搜索的领导人关键词" ShowLabel="false" ID="ttbSearch"
                                ShowTrigger1="false" OnTrigger1Click="ttbSearch_Trigger1Click" OnTrigger2Click="ttbSearch_Trigger2Click"
                                Trigger1Icon="Clear" Trigger2Icon="Search">
                            </ext:TwinTriggerBox>
<ext:DropDownList ID="DDlist" runat="server" Label="快速检索" AutoPostBack="true" OnSelectedIndexChanged="DDlist_SelectedIndexChanged" EnableSimulateTree="true" DataSimulateTreeLevelField="level" DataTextField="name" DataValueField="id" EnableEdit="true"  >

            </ext:DropDownList>
    
           </Items>
                    </ext:FormRow>
                    <ext:FormRow>
                    <Items>
                    <ext:Grid ID="Grid1" Title="用户列表"  ShowBorder="true" ShowHeader="true"
         runat="server" EnableCheckBoxSelect="True" Height="300px"
        Width="550px" DataKeyNames="CL_USER_SOID,USERNAME"  EnableRowNumber="True">
        <Columns>
            <ext:BoundField Width="200px" DataField="REALNAME" DataFormatString="{0}" HeaderText="姓名" />
            <ext:BoundField Width="200px" DataField="POSTName" DataFormatString="{0}" HeaderText="单位" />
        </Columns>
    </ext:Grid>

    </Items>

                    </ext:FormRow>
                </Rows>
            </ext:Form>
               <ext:Button ID="Button2" EnablePostBack="false"    runat="server" Text="附件上传"
                 ValidateTarget="Top">
            </ext:Button>
            <ext:Button ID="btnRegister" OnClientClick="selUid()" CssStyle="padding-left:200px; "     runat="server" Text="提交" OnClick="btnRegister_Click"
                 ValidateTarget="Top">

            </ext:Button>
            
    
               <ext:Window ID="Window1" IconUrl="~/images/16/10.png" runat="server" Popup="false"
          WindowPosition="Center" IsModal="true" Title="Popup Window 1" Target="Self" EnableIFrame="true"
        IFrameUrl="about:blank" Height="500px" Width="550px" OnClose="Window1_Close">
    </ext:Window>
      <ext:Window ID="Window2" IconUrl="~/images/16/10.png" runat="server" Popup="false"
          WindowPosition="Center" IsModal="true" Title="Popup Window 1" Target="Self" EnableIFrame="true"
        IFrameUrl="about:blank" Height="500px" Width="750px" OnClose="Window1_Close">
    </ext:Window>
        </Items>

    </ext:SimpleForm>
    <input type="text" runat="server" id="tzs" style=" display:none" />
    <input type="text" runat="server" id="userids" style=" display:none" />
    <input type="text" runat="server" id="usernames" style=" display:none" />
    </form>
</body>
</html>
